package com.heima.oopAdvanced.n06abstractAndInterface;

public class PingpongAthletes extends Athletes implements SpeakEnglish{

    public PingpongAthletes() {
    }

    public PingpongAthletes(String name, int age) {
        super(name, age);
    }

    @Override
    public void learn() {
        System.out.println("学打乒乓球");
    }

    @Override
    public void speakEnglish() {
        System.out.println("说英语");
    }
}
